Airwallex\Gateways\Card D

Total Complexity 159
Dependencies 18
Dependents 9
Total lines 904
Lines of code 745
Logical lines of code 357
Comment lines 37
Methods 36
Properties 10

Methods 36

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
38 25 63
process_payment()
B
34 21 84
filterTokens()
A
46 11 38
deletePaymentMethodAction()
A
52 9 22
get_form_fields()
A
41 5 65
__construct()
S
55 7 17
getCardLogos()
S
56 6 18
enqueueScriptsForEmbeddedCard()
S
47 5 32
output()
S
44 4 45
capture()
S
52 5 25
savedTokens()
S
51 5 24
getCardRedirectData()
S
46 3 41
change_subscription_payment_method()
S
53 4 23
syncSaveCards()
S
53 4 22
getPaymentConsentIdsInDB()
S
54 4 21
getTokens()
S
51 3 28
registerHooks()
S
52 3 21
add_payment_method()
S
55 3 19
get_icon()
S
60 3 13
getCustomerClientSecret()
S
54 2 23
formatCardType()
S
56 2 17
subscription_payment_information()
S
68 3 7
has_fields()
S
70 3 6
getMetaData()
S
66 3 8
enable_subscription_upsell_support()
S
71 2 6
deletePaymentMethod()
S
71 2 6
isContainSubscription()
S
72 2 6
is_captured()
S
64 2 10
saveAwxPaymentConsentDetail()
S
62 1 11
add_supported_gateways()
S
71 1 6
enqueueScriptForRedirectCard()
S
81 1 3
enqueueAdminScripts()
S
91 1 2
is_capture_immediately()
S
78 1 3
is_save_card_enabled()
S
78 1 3
is_skip_cvc_enabled()
S
78 1 3
getDescriptorSetting()
S
74 1 4